package com.guli.mall.pms.feign;
/*
 * @Author 罗
 * @date 2020/9/21 - 11:09 上午
 */

import com.guli.common.utils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

@FeignClient(name = "product-service")
public interface ProductServiceFeignClient {

    @PostMapping("/pms/categorybrandrelation/updateCategoryName/{catelogId}")
    public R updateCategoryName(@PathVariable("catelogId") Long catelogId, @RequestBody String categoryName);

}
